package Testing;

import Model.Perpustakaan;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.logging.Level;
import java.util.logging.Logger;

public class TestPerpustakaanBacaFilePublikasi {

    public static void main(String[] args) {
        try {
            Perpustakaan.bacaFilePublikasi();
        } catch (FileNotFoundException ex) {
            Logger.getLogger(TestPerpustakaanBacaFilePublikasi.class.getName()).log(Level.SEVERE, null, ex);
        } catch (IOException ex) {
            Logger.getLogger(TestPerpustakaanBacaFilePublikasi.class.getName()).log(Level.SEVERE, null, ex);
        } catch (ClassNotFoundException ex) {
            Logger.getLogger(TestPerpustakaanBacaFilePublikasi.class.getName()).log(Level.SEVERE, null, ex);
        }
        System.out.println(Perpustakaan.bacaDaftarPublikasi());
    }
}
